package cn.bgs.dao;

import cn.bgs.pojo.Grade;
import cn.bgs.pojo.VoAll.GradeVo;
import cn.bgs.pojo.Student;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author Mr.JIA
 * @DATE 2021/8/2 0002 8:39
 * @PROJECT_NAME mybatis_phoenix
 * @PACKAGE_NAME cn.bgs.dao
 */
public interface GradeMapper {

    //查询 grade
    List<Student> findAllGrade(GradeVo vo);

    //添加 grade
    Integer addGrade(Grade gra);

    //删除 grade
    Integer delGrade(Integer pkId);

    //修改 grade
    Integer updGrade(Grade gra);

    //添加学生
    Grade selectByPrimaryKey(Integer pkId);
}
